using System;

namespace Camalon.Drawing.Samples.CSharp
{
	/// <summary>
	/// Summary description for TestTextureFillBlend.
	/// </summary>
	public class TextureFillBlend:Camalon.Drawing.ShapeContainer
	{
		private Camalon.Drawing.TextureFill textureFill1;
		private Camalon.Drawing.Shapes.RectangleShape rectangleShape1;
		private Camalon.Drawing.LinearGradientFill linearGradientFill1;
		private Camalon.Drawing.ShapePen shapePen1;
		private Camalon.Drawing.Shapes.MagicShape magicShape1;
		private Camalon.Drawing.ShapePen shapePen2;
        private Camalon.Drawing.PathGradientFill pathGradientFill1;
	
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TextureFillBlend));
            this.textureFill1 = new Camalon.Drawing.TextureFill();
            this.linearGradientFill1 = new Camalon.Drawing.LinearGradientFill();
            this.rectangleShape1 = new Camalon.Drawing.Shapes.RectangleShape();
            this.shapePen1 = new Camalon.Drawing.ShapePen();
            this.magicShape1 = new Camalon.Drawing.Shapes.MagicShape();
            this.pathGradientFill1 = new Camalon.Drawing.PathGradientFill();
            this.shapePen2 = new Camalon.Drawing.ShapePen();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // textureFill1
            // 
            this.textureFill1.Blend = this.linearGradientFill1;
            this.textureFill1.ColorMap = new Camalon.Drawing.TransparentColor[] {
        new Camalon.Drawing.TransparentColor(System.Drawing.Color.White)};
            this.textureFill1.Image = ((System.Drawing.Image)(resources.GetObject("textureFill1.Image")));
            this.textureFill1.ImageAlign = Camalon.Drawing.ImageAlign.Center;
            this.textureFill1.ImageWrap = System.Drawing.Drawing2D.WrapMode.TileFlipX;
            // 
            // linearGradientFill1
            // 
            this.linearGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Wheat),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(39)))), ((int)(((byte)(99)))), ((int)(((byte)(185))))), 1F)};
            // 
            // rectangleShape1
            // 
            this.rectangleShape1.Fill = this.textureFill1;
            this.rectangleShape1.Pen = this.shapePen1;
            this.rectangleShape1.Position = new System.Drawing.Point(40, 50);
            this.rectangleShape1.Size = new System.Drawing.Size(430, 430);
            // 
            // shapePen1
            // 
            this.shapePen1.Color = new Camalon.Drawing.TransparentColor(System.Drawing.Color.Wheat);
            this.shapePen1.Width = 3F;
            // 
            // magicShape1
            // 
            this.magicShape1.Fill = this.pathGradientFill1;
            this.magicShape1.Pen = this.shapePen2;
            this.magicShape1.Position = new System.Drawing.Point(530, 40);
            this.magicShape1.Size = new System.Drawing.Size(210, 220);
            // 
            // pathGradientFill1
            // 
            this.pathGradientFill1.InterpolationColors = new Camalon.Drawing.CompoundColor[] {
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.Black),
        new Camalon.Drawing.CompoundColor(System.Drawing.Color.WhiteSmoke, 0.5F),
        new Camalon.Drawing.CompoundColor(System.Drawing.SystemColors.InactiveCaption, 1F)};
            // 
            // TestTextureFillBlend
            // 
            this.Shapes.AddRange(new Camalon.Drawing.Shape[] {
            this.magicShape1,
            this.rectangleShape1});
            this.Size = new System.Drawing.Size(1060, 520);
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

		}
	
		public TextureFillBlend()
		{
			//
			// TODO: Add constructor logic here
			//
		}
	}
}
